import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
const routes: Array<RouteRecordRaw> = [
  {
    path: '/home',
    name: 'Home',
    component: () => import(/* webpackChunkName: "Home" */ '@/views/Home/index.vue')
  },
  { path: '/', redirect: { name: 'Home' } }
]
const router = createRouter({
  history: createWebHistory(),
  routes
})
export default router